func go/types.lookupFieldOrMethod
5 uses
go/types (current package)
builtins.go#L788: obj, index, indirect := lookupFieldOrMethod(base, false, check.pkg, sel, false)
call.go#L809: obj, index, indirect = lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, false)
call.go#L835: alt, _, _ := lookupFieldOrMethod(x.typ, x.mode == variable, check.pkg, sel, true)
lookup.go#L89: return lookupFieldOrMethod(T, addressable, pkg, name, false)
lookup.go#L94: func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string, foldCase bool) (obj Object, index []int, indirect bool) {